package com.csw.spring.framework;

/**
 * @author csw
 * @version 1.0
 * @date 2021/12/19 7:58 下午
 *
 * bean的定义，声明作用域
 */

public class BeanDefinition {

    private String scope; //原型的
    private boolean isLazy; //懒加载
    private Class beanClass; //bean的类型


    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public boolean isLazy() {
        return isLazy;
    }

    public void setLazy(boolean lazy) {
        isLazy = lazy;
    }

    public Class getBeanClass() {
        return beanClass;
    }

    public void setBeanClass(Class beanClass) {
        this.beanClass = beanClass;
    }
}
